package org.mc.sl.ec2;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration;
import org.springframework.cache.annotation.EnableCaching;

@SpringBootApplication(scanBasePackages = {"org.mc.ddd", "org.mc.sl.ec2"}, exclude =
        {DataSourceAutoConfiguration.class, HibernateJpaAutoConfiguration.class})
@EnableCaching
public class CacheEhcache2ApplicationServer {
    public static void main(String[] args) {
        SpringApplication.run(CacheEhcache2ApplicationServer.class, args);
    }
}
